import { AnyAction } from "redux";

export const addTodo: any = (text: string): AnyAction => {
	return {
		type: "ADD_TODO",
		text,
	};
};
